package com.yunxin.core.infra.common.product.enums;

import com.yunxin.common.base.IBaseEnum;
import lombok.Getter;

/**
 * @author zero°
 * @since 2023-05-31
 */
@Getter
public enum ProductStatusEnum implements IBaseEnum<Integer> {

    /**
     * 产品状态 0.下架 1.上架
     */
    OFF_SHELF(0, "下架"),

    GROUNDING(1, "上架"),
    ;

    private final Integer value;

    private final String label;


    ProductStatusEnum(Integer value, String label) {
        this.value = value;
        this.label = label;
    }
}
